package com.simple.portal.bo.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.simple.portal.bo.IPartnerTypeRelBO;
import com.simple.portal.dao.IPartnerTypeRelDAO;
import com.simple.portal.vo.PartnerTypeRelVO;


@Service("partnerTypeRelBO")
@Transactional(propagation=Propagation.REQUIRED,readOnly=true)
public class PartnerTypeRelBOImpl implements IPartnerTypeRelBO{

	@Autowired
	private IPartnerTypeRelDAO partnerTypeRelDAO;
	@Override
	public PartnerTypeRelVO findById(String id) {
		return partnerTypeRelDAO.findById(id);
	}

	@Override
	public List<PartnerTypeRelVO> findAll() {
		return partnerTypeRelDAO.findAll();
	}

}
